// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeOptimizeAdviceOnMissPKResponse.h"

namespace aliyun { namespace Rds {

DescribeOptimizeAdviceOnMissPKResponse::DescribeOptimizeAdviceOnMissPKResponse() {
}

const string& DescribeOptimizeAdviceOnMissPKResponse::AdviceOnMissPK::GetDBName(void) const {
  return DBName_;
}

const string& DescribeOptimizeAdviceOnMissPKResponse::AdviceOnMissPK::GetTableName(void) const {
  return TableName_;
}

const std::vector<DescribeOptimizeAdviceOnMissPKResponse::AdviceOnMissPK>& DescribeOptimizeAdviceOnMissPKResponse::GetItems(void) const {
  return Items_;
}

int DescribeOptimizeAdviceOnMissPKResponse::GetTotalRecordsCount(void) const {
  return TotalRecordsCount_;
}

int DescribeOptimizeAdviceOnMissPKResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeOptimizeAdviceOnMissPKResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeOptimizeAdviceOnMissPKResponse::BaseKey(void) {
  return "DescribeOptimizeAdviceOnMissPKResponse";
}

void DescribeOptimizeAdviceOnMissPKResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeOptimizeAdviceOnMissPKResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeOptimizeAdviceOnMissPKResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].TableName_, response_map, "DescribeOptimizeAdviceOnMissPKResponse.Items["+string_ValueOfInt(i1)+"].TableName");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordsCount_, response_map, "DescribeOptimizeAdviceOnMissPKResponse.TotalRecordsCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeOptimizeAdviceOnMissPKResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeOptimizeAdviceOnMissPKResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
